package route_admin_login

import (
	admin_login_handler "oc_saas/internal/app/api/admin/login/handler"

	"github.com/gin-gonic/gin"
)

type LoginRoutes struct{}

func (l *LoginRoutes) InitRouteGroup(r *gin.RouterGroup) {
	{
		r.POST("/login", admin_login_handler.LoginApi.Login)
		r.POST("/logout", admin_login_handler.LoginApi.LogOut)
	}
}

var LoginRouteGroup = new(LoginRoutes)
